package com.multimedia.scala.euler

object Asd5 {
  def main(args : Array[String]) : Unit = {
    val digits = (1 to 10)

    def findDivisor(x: Int = 1): Int = 
      if (!digits.exists(x%_!=0))
    	  x
      else
          findDivisor(x+1)
          
     println(findDivisor())
  }
}
